
package com.unicom.projt.util;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: Lee
 * Date: 11-12-6
 * Time: 下午10:00
 */
public class Test {
    public static void main(String[] args) {
        String s = "576.00,766.48";
        Double valueUsed = Double.valueOf(s.split(",")[0]);
        Double valueTotal = Double.valueOf(s.split(",")[1]);

        int process = valueUsed.intValue();
        int max = valueTotal.intValue();
        System.out.println(valueUsed);
        System.out.println(valueTotal);
        System.out.println(process);
        System.out.println(max);
        System.out.println(DateUtils.formatOrderDateTime(new Date()));

    }
}
